package org.linlinjava.litemall.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("商品属性类")
public class LitemallGoodsVO {
    @ApiModelProperty(value = "商品id")
    private Integer id;

    @ApiModelProperty(value = "门店id")
    private Integer shopId;

    @ApiModelProperty(value = "门店名称id")
    private String shopName;

    @ApiModelProperty(value = "商品编号")
    private String goodsSn;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品英文名称")
    private String nameEn;

    @ApiModelProperty(value = "商品分类(0:总部商品,1:店铺商品)")
    private Byte type;

    @ApiModelProperty(value = "副标题")
    private String subhead;

    @ApiModelProperty(value = "分类Id")
    private Integer categoryId;

    @ApiModelProperty(value = "品牌Id")
    private Integer brandId;

    @ApiModelProperty(value = "商品宣传图片列表")
    private String[] gallery;

    @ApiModelProperty(value = "关键字")
    private String keywords;

    @ApiModelProperty(value = "商品简介")
    private String brief;

    @ApiModelProperty(value = "是否上架")
    private Boolean isOnSale;

    @ApiModelProperty(value = "商品类型（1：普通商品 2：商品原料 3：特殊商品）")
    private Byte goodsType;

    @ApiModelProperty(value = "审核状态（1：待审核 2：已审核 3：未通过）")
    private Byte reviewType;


    private Short sortOrder;

    @ApiModelProperty(value = "商品页面商品图片")
    private String picUrl;

    @ApiModelProperty(value = "商品分享朋友圈图片")
    private String shareUrl;

    @ApiModelProperty(value = "是否新品")
    private Boolean isNew;

    @ApiModelProperty(value = "是否热门商品")
    private Boolean isHot;

    @ApiModelProperty(value = "是否支持退换")
    private Boolean isReturn;

    @ApiModelProperty(value = "是否需要配送费")
    private Boolean isDistribution;

    @ApiModelProperty(value = "配送费")
    private BigDecimal distributionFee;

    @ApiModelProperty(value = "价格类型（1：会员价；2：阶梯价；3：满减价）")
    private Byte priceType;

    @ApiModelProperty(value = "是否有Vip价格")
    private Boolean isVipPrice;

    @ApiModelProperty(value = "是否有活动价")
    private Boolean isActivityPrice;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "进货价")
    private BigDecimal counterPrice;

    @ApiModelProperty(value = "零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty(value = "商品制作操作说明")
    private String operationDesc;

    @ApiModelProperty(value = "赠送积分")
    private BigDecimal giveAwayPoints;

    private LocalDateTime addTime;

    private LocalDateTime updateTime;

    private Boolean deleted;

    @ApiModelProperty(value = "商品详细介绍")
    private String detail;
}
